package com.liaohuakai.piggybank.view

import android.os.Bundle
import com.liaohuakai.piggybank.base.BaseActivity
import com.liaohuakai.piggybank.databinding.ActivitySplashBinding

class SplashActivity : BaseActivity() {

    private val binding by lazy {
        ActivitySplashBinding.inflate(layoutInflater)
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(binding.root)
        binding.root.postDelayed({
            LoginActivity.start(this)
            finish()
        }, 500)

    }
}